package com.baiduspring.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@Data
@PropertySource(value = {"classpath:uploadConfig.properties"}, encoding = "utf-8")
public class UploadConfig {
    @Value("${root.path}")
    private String rootPath;
    @Value("${domain}")
    private String domain;
    @Value("${port}")
    private String port;
}
